﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>注册</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="~/css/default.css" />
</head>
<body>
    ﻿<header class="hd1">
        <div class="cg">
            <div class="hd1-left">
                <a href="~/Home/Index"><img class="am-hide-md-down" src="~/images/logo.jpg" /></a>
                <a href="~/Home/Index"><img class="am-show-md-down" src="~/images/logo-sm.jpg" /></a>
            </div>
            <div class="hd1-right">
                <a href="~/User/login">登录</a>
                <a href="~/User/register" class="cur">注册</a>
            </div>
        </div>
    </header>

    <div class="user">
        <div class="cgs">
            <div class="am-u-sm-12 am-u-md-7">
                <div class="user-div">
                    <h1>用户注册</h1>
                    @if (ViewBag.ErrorMessage != null)
                    {
                        <div style="color:red;">
                            @ViewBag.ErrorMessage
                        </div>
                    }
                    <form method="post">
                        <ul>
                            <li><i>&#xe681;</i>@Html.TextBox("uname")</li>
                            <li><i>&#xe680;</i>@Html.TextBox("upwd")</li>
                            <li><i>&#xe680;</i>@Html.TextBox("pwd")</li>
                            <li><i>&#xe6ed;</i>@Html.TextBox("mobile")</li>
                        </ul>
                        <span><input type="checkbox" name="name" value="" checked />我已阅读并接受<a href="#">版权说明和隐私保护条款</a></span>
                        <br />
                        <div align="center">
                            <button>注册</button>
                        </div>
                    </form>
                </div>
            </div>
            <div class="am-hide-sm am-u-md-5">
                <div class="user-right">
                    <a href="~/User/login">已有帐号</a>
                    <button onclick="location.href = 'login';">立即登录</button>
                </div>
            </div>
        </div>
    </div>
    <script>
        function openEdit(pwd) {
            window.top.addTab("/User/register/" + pwd);
        }
    </script>
</body>
</html>
